/**
 * FileName: DictService
 * Author: zlz
 * CreatedDate: 2025/2/26 09:49:13
 * Description:
 * Version: 1.0.0
 */
package com.zlz.open.dict.service;

import com.zlz.base.entity.response.PageInfo;
import com.zlz.base.entity.response.ResultSet;
import com.zlz.open.dict.bean.dos.DictGroupEntity;
import com.zlz.open.dict.bean.request.DictGroupRequest;
import com.zlz.open.dict.bean.vo.DictGroupResponse;
import reactor.core.publisher.Mono;

/**
 * @author zlz
 * @date 2025/2/26 09:49:13
 * @description
 */
public interface DictGroupService {

    Mono<ResultSet<Long>> createGroup(Mono<DictGroupRequest> request);

    Mono<ResultSet<PageInfo<DictGroupResponse>>> findByPage(Mono<DictGroupRequest> request);

    Mono<ResultSet<Boolean>> updateGroup(Mono<DictGroupRequest> request);

    Mono<ResultSet<Boolean>> deletedGroup(Mono<String> code);

    DictGroupEntity selectByCode(String code);
}
